<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.prime.com.tr/ui"
	xmlns:f="http://java.sun.com/jsf/core">
<h:head>
	<title>Autenticacao Usuario</title>
</h:head>
<h:body>
	<ui:composition template="/WEB-INF/layout/template.xhtml">
		<ui:define name="conteudo">
			<h:form>
				<p:panel header="Login" id="panelLogin" style="width: 350px;">
					<h:panelGrid columns="2">
							<h:column>
							<h:outputText value="Login:" for="input-login-nome" />
						</h:column>
						<h:column>
							<h:inputText id="input-login-nome" value="#{loginBean.login}" />
						</h:column>
						<h:column>
							<h:outputText value="Registro:" for="input-login-registro" />
						</h:column>
						<h:column>
							<h:inputText id="input-login-registro" value="#{loginBean.registro}" />
						</h:column>
						<h:commandButton value="Entrar" action="#{loginBean.efetuarLogin}" />
					</h:panelGrid>
				</p:panel>
			</h:form>
		</ui:define>
	</ui:composition>
</h:body>
</html>